Method of sensing a position of a movable component

ABSTRACT

A method of sensing a position of a movable component of an operator interface includes a step of receiving a first signal from a first Hall effect sensor and a second signal from a second Hall effect sensor. The method also includes a step of determining the position of the movable component based on the first signal and the second signal if the first and second signals represent expected values. The method includes a further step of determining the position of the movable component based on one of the first and second signals if the other of the first and second signals represents an unexpected value.

TECHNICAL FIELD

The present disclosure relates generally to an operator interface assembly including a Hall effect element, and more particularly to a method of sensing a position of a movable component of the operator interface and actuating an actuator with an electronic controller based on the position.

BACKGROUND

Directional controllers of machines have traditionally included an operator interface or switch assembly connected to the transmission of the machine through a mechanical linkage. Specifically, a shift lever, or other similar device, is pivotally mounted to a base and is movable through one of various gear positions, such as forward, neutral, and reverse. More recently, however, contact type switches are being used to detect the selected gear position and use this position information to electronically facilitate a change in gear position via commands from an electronic controller.

In either arrangement, contact type switches are typically employed to detect the selected gear position of the shift lever and transmit the information to a controller of the machine. The controller of the machine may use this information for various purposes and may transmit the information to various subsystems of the machine. Contact switches, however, require physical contact to produce an electrical signal. Unfortunately, the contacts on these switches may become corroded or worn with use or, alternatively, the contacts may no longer form an acceptable electrical connection after repetitive use. Replacing such switches may be difficult and expensive, and may also require a significant period of downtime for the machine.

In order to avoid the problems associated with contact type switches, switches have been developed that incorporate contactless sensors. Hall effect switches are well known contactless switches, especially in the position and motion sensing fields, for providing improved life expectancy compared to the traditional, contact type switch assemblies. As shown in U.S. Pat. No. 6,550,351, a driver interface in the form of a shift lever is provided. The position of the shift lever is sensed using a plurality of discrete position Hall effect sensors and a rotational position Hall effect sensor. The output of the sensors is directed to an electronic control module, which determines the selected position and energizes a transmission actuator to change a gear position of the transmission. This reference, however, does not contemplate a sensor configuration that remains robustly reliable in the presence of electromagnetic interference.

The present disclosure is directed to one or more of the problems set forth above.

SUMMARY OF THE INVENTION

In one aspect, a method of sensing a position of a movable component of an operator interface includes a step of receiving a first signal from a first Hall effect sensor and a second signal from a second Hall effect sensor. The method also includes a step of determining the position of the movable component based on the first signal and the second signal if the first and second signals represent expected values. The method includes a further step of determining the position of the movable component based on one of the first and second signals if the other of the first and second signals represents an unexpected value.

In another aspect, a machine having an operator interface for actuating an actuator of the machine includes a movable component of the operator interface. The movable component is movable among at least two positions. A magnet is positioned to move in response to movement of the movable component. A first Hall effect sensor and a second Hall effect sensor each have a stationary position relative to the movable component. An electronic controller is in communication with the first Hall effect sensor and the second Hall effect sensor. The electronic controller is configured to determine the position of the movable component based on a first signal from the first Hall effect sensor and a second signal from the second Hall effect sensor if the first and second signals represent expected values. The electronic controller is also configured to determine the position of the movable component based on one of the first and second signals if the other of the first and second signals represents an unexpected value.

In still another aspect, a computer usable medium having computer readable program code thereon for causing an actuator of a machine to actuate includes computer readable program code for receiving a first signal from a first Hall effect sensor and a second signal from a second Hall effect sensor. The computer usable medium also includes computer readable program code for determining the position of the movable component based on the first signal and the second signal if the first and second signals represent expected values. The computer usable medium further includes computer readable code for determining the position of the movable component based on the one of the first and second signals representing an expected value if the other of the first and second signals represents an unexpected value.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a side diagrammatic view of a machine according to the present disclosure;

FIG. 2 is a diagrammatic view of an operator assembly of the machine of FIG. 1;

FIG. 3 is a simplified block diagram of a system incorporating the operator interface assembly of FIG. 2;

FIG. 4 is a diagram of duty cycles of signals received from the operator interface assembly of FIG. 2; and

FIG. 5 is a flow chart of one embodiment of a method of actuating an actuator of the machine of FIG. 1.

DETAILED DESCRIPTION

An exemplary embodiment of a machine 10 is shown generally in FIG. 1. The machine 10 may be a wheel loader, as shown, or any other vehicle utilizing an operator interface assembly as described herein. The machine 10 includes an operator control station 12. The operator control station 12 includes an operator interface assembly for controlling a direction of the machine 10, such as a forward, neutral, or reverse direction. The operator interface assembly is shown generally at 20 in FIG. 2.

The operator interface assembly 20 includes a movable component, such as, for example, a lever 22. Although a lever is shown, it should be appreciated that any type of movable component or switch may be utilized, such as, for example, a toggle switch, a push-button switch, or a rocker switch. The lever 22 or, more specifically, the machine directional controller, may be movable among two or more positions. As shown, lever 22 is movable among three positions. A forward position is shown, while a neutral position 24 and a reverse position 26 are both shown in phantom.

The lever 22 may be pivotally connected to a pivotable member 28 that swings a secondary lever 30 in response to movement of lever 22. A permanent magnet 32 is positioned to move in response to movement of the secondary lever 30. Specifically, the magnet 32 may be attached to the secondary lever 30 using any known method, such as, for example, adhering, welding, or bolting. Alternatively, the magnet 32 may be attached to the secondary lever 30 indirectly using one or more belts, chains, or gears. As another alternative, the magnet 32 may be directly attached to the lever 22.

As shown, the magnet 32 is positioned to represent selection of the forward position of lever 22 and secondary lever 30. For selection of the neutral position, represented by lever 24 and secondary lever 34 (both shown in phantom), the magnet 32 would be positioned as shown at 36 (in phantom). For selection of the reverse position, represented by lever 26 and secondary lever 38 (both shown in phantom), the magnet would be positioned as shown at 40 (in phantom). A first Hall effect sensor or element 42 and a second Hall effect sensor or element 44 are stationary relative to the magnet 32.

As should be appreciated, the magnet 32 will be positioned within close proximity to the first Hall effect sensor 42 at the forward position of the lever 22 and secondary lever 30. Alternatively, at the reverse position, represented by lever 26 and secondary lever 38 (both shown in phantom), the magnet (shown at 40) is positioned within close proximity to the second Hall effect sensor 44. Upon selection of the neutral position, represented by lever 24 and secondary lever 34 (both shown in phantom), the magnet (shown at 36) is positioned approximately equidistantly from both Hall effect sensors 42 and 44.

Although Hall effect sensors, namely sensors 42 and 44, are utilized, it should be appreciated by those skilled in the art that any type of contactless, magnetic sensor may be used to measure the position of lever 22. Generally, magnet 32 is used to create a magnetic field, which is measured by one or more magnetically sensitive features, such as Hall effect sensors 42 and 44. The changing magnetic field at the Hall effect sensors 42 and 44 is converted into an output signal proportional to the movement of the magnet 32 or the strength of the magnetic field at the sensor location.

A first pulse width modulator 46 is implemented as a portion of Hall effect sensor 42 and a second pulse width modulator 48 is implemented as a portion of Hall effect sensor 44. Each modulator 46 and 48, as generally practiced in the art, produces a square wave that is dependent upon the voltage supplied by the respective Hall effect sensors 42 and 44. Like conventional pulse width modulators, each modulator 44 and 48 consists, fundamentally, of an oscillator and a comparator (not shown), which are well known and may be of any suitable design.

Specifically, each modulator 46 and 48 may use an oscillator to produce a repetitive signal, such as, for example, a sine wave. A comparator may then be used to compare the sine wave to the output signal of each of the Hall effect sensors 42 and 44. The output of the comparator indicates which of the signals is larger. If the signal of the Hall effect sensor (42 or 44) is larger than the sine wave, the pulse width modulated signal is in the high state, otherwise it is in the low state. The duty cycle of the pulse width modulated signal is representative of the ratio between the pulse duration and the period. Since a pulse width modulated signal is time based rather than amplitude based, it is more resistant to electromagnetic interference than other signals.

Referring to FIG. 3, a system incorporating the operator interface assembly 20 is shown generally at 60. The system 60 includes a power supply 62 for supplying a power or current through a port 64 to the Hall effect sensors 42 and 44 of the operator interface assembly 20. In response to movement of the magnet 32, a voltage of the power supplied to the Hall effect sensors 42 and 44 is altered. A first pulse width modulated signal 66 and a second pulse width modulated signal 68 are transmitted from the modulators 46 and 48, respectively, to an electronic controller, such as, for example, electronic control module (ECM) 70. The ECM 70 may include one or more built in power supplies and may, therefore, replace power supply 62 as the source of power for the operator interface assembly 20. The pulse width modulated signals 66 and 68 are evaluated or, more specifically, compared to determine the position of the lever 22. Once the position is determined, the ECM 70 generates an actuator command signal that is sent to an actuator, such as, for example, a transmission actuator 74, via an additional port, or communication line, 72. It may be desirable to configure the ECM 70 to not affect a movement of the transmission actuator 74 until a neutral position is initially determined.

The ECM 70 is of standard design and generally includes a processor, such as, for example, a central processing unit, a memory, and an input/output circuit that facilitates communication internal and external to the ECM. The central processing unit controls operation of the ECM 70 by executing operating instructions, such as, for example, programming code stored in memory, wherein operations may be initiated internally or externally to the ECM. A control scheme may be utilized that monitors outputs of systems or devices, such as, for example, sensors, such as Hall effect sensors 42 and 44, actuators, or control units, via the input/output circuit to control inputs to various other systems or devices. The ECM 70 may also be or include a dedicated circuit that operates in a manner consistent with a counterpart processor executing a specific set of instructions.

The memory may comprise temporary storage areas, such as, for example, cache, virtual memory, or random access memory, or permanent storage areas, such as, for example, read-only memory, removable drives, network/internet storage, hard drives, flash memory, memory sticks, or any other known volatile or non-volatile data storage devices located internally or externally to the ECM 70. One skilled in the art will appreciate that any computer-based system utilizing similar components is suitable for use with the present disclosure.

Turning now to FIG. 4, a diagram of duty cycles of the pulse width modulated signals 66 and 68 is shown generally at 80. The ECM 70 is configured to expect or anticipate certain duty cycle values from each pulse width modulated signal 66 and 68. For example, for a forward position 82, the ECM 70 may expect an 80%, or high, duty cycle from the first pulse width modulated signal 66 and a 20%, or low, duty cycle from the second pulse width modulated signal 68. For a reverse position 84, the ECM 70 may expect a 20% duty cycle from the first pulse width modulated signal 68 and an 80% duty cycle from the second pulse width modulated signal 66. A 50%, or moderate, duty cycle from each of the pulse width modulated signals 66 and 68 may be expect from the ECM 70 to determine a neutral position 86.

The ECM 70 may further be configured to provide for a margin of error. For example, a 10% margin of error may be provided for, wherein each expected value will be presumed if a value 10% lower than or 10% higher than the expected value is received. Therefore, according to this example, an expected value of 20% will now become an expected range of about 10% to about 30%, an expected value of 50% will become an expected range of about 40% to about 60%, and an expected value of 80% will become an expected range of about 70% to about 90%. Although expected values and ranges are provided, by way of example, it should be appreciated that the modulators 46 and 48 may be configured to provide, and the ECM 70 may be configured to expect, signals having alternative duty cycles.

INDUSTRIAL APPLICABILITY

Referring to FIGS. 1-5, a machine 10 typically includes an operator control station 12 and an operator interface or operator interface assembly 20, located within the operator control station, for controlling a direction of the machine. The operator interface assembly 20 includes a movable component, such as, for example a lever or directional controller 22. The lever 22 may be movable among three positions, such as a forward position, a reverse position, and a neutral position. Traditionally, the operator interface assembly is connected to the transmission of the machine through a mechanical linkage. More recently, however, contact type switches are being used to detect the selected gear position and use this position information to electronically facilitate a change in gear position.

In either arrangement, contact type switches are typically employed to detect the selected gear position of the shift lever and transmit the information to a controller of the machine. The controller of the machine may use this information for various purposes and may transmit the information to various subsystems of the machine. Contact switches, however, require physical contact to produce an electrical signal. Unfortunately, the contacts on these switches may become corroded or worn with use or, alternatively, the contacts may no longer form an acceptable electrical connection after repetitive use. Replacing such switches may be difficult and expensive, and may also require a significant period of downtime for the machine.

Utilizing the operator interface assembly and method according to the present disclosure may help extend the durability and life expectancy of such switches or levers, and may provide an arrangement that is less vulnerable to electromagnetic interference, which may lead to incorrect position determinations. Turning to FIG. 5, there is shown a flow chart 100 representing an exemplary method of actuating an actuator of machine 10 utilizing the operator interface assembly 20. The method may be implemented in whole, or in part, by the ECM 70 of the system 60. The ECM 70 includes a computer usable medium having computer readable code thereon for implementing the method. The method may run continuously or may be initiated in response to movement of the operator interface assembly 20. The method begins at a START, Box 102. From Box 102, the method proceeds to Box 104, which includes the step of receiving the first and second pulse width modulated signals 66 and 68, respectively. Included in the step of receiving the signals 66 and 68 is a step of establishing a communication link with each of the Hall effect sensors 42 and 44. From Box 104, the method proceeds to Box 106 where the method determines if the duty cycles of both pulse width modulated signals 66 and 68 are expected or anticipated values. According to FIG. 4, expected values may be 20%, 50%, or 80%, and may further include a range that allows for a margin of error.

If expected values or, more specifically, ranges are received for duty cycles of both pulse width modulated signals 66 and 68, the method proceeds to Box 108. At Box 108 the ECM 70 determines if, although the values are both expected, the ratio of the expected values is correct. For example, both 20% and 50% are expected duty cycles. However, they do not represent an expected ratio, such as 4-1 (80%-20%), 1-4 (20%-80%), or 1-1 (50%-50%). Therefore, the method only proceeds to Box 110 if an expected ratio of expected values is received. At Box 110, the method determines the position of the operator interface assembly 20 or, more specifically, the lever or directional controller 22, based on the values of both pulse width modulated signals 66 and 68.

For example, if the duty cycle of the first pulse width modulated signal is 80% and the duty cycle of the second pulse width modulated signal is 20%, the ECM 70 determines that the values are expected and that the ratio of values is expected. Thereafter, the ECM 70 utilizes the information of diagram 80 to determine that the operator interface assembly 20 has been selected to represent the forward position. At Box 112 the ECM 70 uses this position information to command movement of the transmission actuator 74 via an actuator command. The duty cycles of each of the pulse width modulated signals 66 and 68 corresponding to the determined position are stored in a storage device, such as the memory of ECM 70. The method then proceeds to an END at Box 114.

If, however, at Box 106 the ECM 70 determines that the duty cycles of both pulse width modulated signals 66 and 68 are not expected values or ranges, the method proceeds to Box 116. At Box 116 the ECM 70 determines if exactly one of the pulse width modulated signals 66 and 68 has an expected duty cycle. If, for example, the second pulse width modulated signal 68 has an expected duty cycle of 80% and the first pulse width modulated signal 66 has a duty cycle of 5%, which is not expected, the method will continue to Box 118 where the ECM 70 will log a fault for the first Hall effect sensor 42 for producing a pulse width modulated signal having a duty cycle that is not expected. It should be appreciated that receiving no signal will be considered receiving an unexpected value.

After logging a fault, the method will proceed to Box 120 where the ECM 70 determines the position of the operator interface assembly 20 based on the value of the pulse width modulated signal having an expected duty cycle. According to the example used, a reverse position will be determined since the second pulse width modulated signal 68 has a duty cycle of 80%. At Box 122 the ECM 70 uses this position information to command movement of the transmission actuator 74 via an actuator command. The duty cycles of each of the pulse width modulated signals 66 and 68 corresponding to the determined position are stored in a storage device, such as the memory of ECM 70. The method then proceeds to the END at Box 114.

If, however, at Box 116 the ECM 70 determines that the duty cycles of neither pulse width modulated signals 66 and 68 are expected values or ranges, the method proceeds to Box 124. For example, the first pulse width modulated signal 66 may have a duty cycle of 35% and the second pulse width modulated signal 68 may have a duty cycle of 65%. At Box 124, the ECM 70 will log a fault for both Hall effect sensors 42 and 44. After logging a fault, the method will proceed to the END at Box 114.

If, however, at Box 108 the ECM 70 has determined that the duty cycles of both pulse width modulated signals 66 and 68 are expected values, but the ratio of the values is not expected, the method proceeds to Box 126. It should be appreciated that an unexpected ratio indicates that the duty cycle of one of the two pulse width modulated signals 66 and 68 has an unexpected value. At Box 126 the duty cycles of each pulse width modulated signal 66 and 68 are compared to values stored in a storage device, such as the memory of ECM 70, for duty cycles of the previous determined position of the operator interface assembly 20. If, at Box 128, the ECM 70 determines that one duty cycle is similar to a previous value and one duty cycle is not, the method proceeds to Box 130.

For example, if the first pulse width modulated signal 66 has an expected duty cycle of 20% and the second pulse width modulated signal 68 has an expected duty cycle of 50%, the ECM 70 determines that the values are expected, but the ratio is not correct. The ECM 70 then looks at the duty cycle values stored in memory for the previous position. If the previous position was neutral and the duty cycle of both signals was 50%, the ECM 70 determines that the duty cycle of the first pulse width modulated signal 66 has changed and the duty cycle of the second pulse width modulated signal 68 has stayed the same.

The ECM 70 then logs a fault for the second Hall effect sensor 44 at Box 130 and the method continues to Box 132. At Box 132 the position of the operator interface assembly 20 is determined based on the duty cycle of the pulse width modulated signal that has changed. According to the current example, the duty cycle of the first pulse width modulated signal 66 will be used to determine a currently requested position of reverse. At Box 134 the ECM 70 uses this position information to command movement of the transmission actuator 74 via an actuator command. The duty cycles of each of the pulse width modulated signals 66 and 68 corresponding to the determined position are stored in a storage device, such as the memory of ECM 70. The method then proceeds to the END at Box 114.

If, however, at Box 128 the ECM 70 determines that either both duty cycles or neither duty cycles are similar to the duty cycles of the previous position, the method proceeds to Box 142, where the ECM 70 will log a fault for both Hall effect sensors 42 and 44. After logging a fault, the method will proceed to the END at Box 114.

The operator interface assembly and method of the present disclosure provide for contactless switching of positions of a directional controller utilizing two Hall effect sensors. If one of the Hall effect sensors fails, the method implemented by the ECM 70 logs a fault for the failing sensor and relies on output from the working sensor to determine the position of the directional controller. In addition, the system incorporates the use of pulse width modulated signals, which are less vulnerable to electromagnetic interference since the signal has a time based modulation rather than an amplitude based modulation.

It should be understood that the above description is intended for illustrative purposes only, and is not intended to limit the scope of the present invention in any way. Thus, those skilled in the art will appreciate that other aspects of the invention can be obtained from a study of the drawings, the disclosure and the appended claims. 

1. A method of sensing a position of a movable component of an operator interface, comprising: receiving a first signal from a first Hall effect sensor and a second signal from a second Hall effect sensor; determining the position of the movable component based on the first signal and the second signal if the first and second signals represent expected values; and determining the position of the movable component based on one of the first and second signals if the other of the first and second signals represents an unexpected value.
 2. The method of claim 1, further including: modulating the first and second signals with a pulse width modulator.
 3. The method of claim 2, further including: altering the first and second modulated signals in response to movement of a magnet, wherein the magnet is movable in response to movement of the movable component.
 4. The method of claim 3, wherein the first determining step includes: determining a duty cycle of each of the first and the second modulated signals and a ratio of the duty cycles of each of the first and second modulated signals to determine if the first and second signals represent expected values.
 5. The method of claim 3, wherein the second determining step includes: determining a duty cycle of each of the first and second modulated signals to determine if one of the first and second signals represents an unexpected value; and determining the position of the movable component based on the one of the first and second modulated signals having an expected value.
 6. The method of claim 3, wherein the second determining step includes: determining a ratio of duty cycles of the first and second modulated signals to determine if one of the first and second modulated signals represents an unexpected value; and determining the position of the movable component based on the one of the first and second modulated signals having a changed value.
 7. The method of claim 6, further including: determining the changed value by comparing the duty cycles of the first and second modulated signals to values stored in a storage device for a previous determined position.
 8. The method of claim 1, further including: actuating an actuator of a machine based on the determined position of the movable component.
 9. A machine having an operator interface for actuating an actuator of the machine, comprising: a movable component of the operator interface, wherein the movable component is movable among at least two positions; a magnet positioned to move in response to movement of the movable component; a first Hall effect sensor and a second Hall effect sensor, each having a stationary position relative to the movable component; an electronic controller in communication with the first Hall effect sensor and the second Hall effect sensor, wherein the electronic controller is configured to determine the position of the movable component based on a first signal from the first Hall effect sensor and a second signal from the second Hall effect sensor if the first and second signals represent expected values; and wherein the electronic controller is further configured to determine the position of the movable component based on one of the first and second signals if the other of the first and second signals represents an unexpected value.
 10. The machine of claim 9, wherein the first signal and the second signal are altered in response to movement of the magnet relative to the first Hall effect sensor and the second Hall effect sensor.
 11. The machine of claim 10, wherein the movable component includes a movable component of a directional controller of a machine.
 12. The machine of claim 11, wherein the electronic controller is further configured to actuate a transmission actuator of the machine in response to the determined position of the movable component of the directional controller.
 13. The machine of claim 10, further including a first pulse width modulator operably coupled to the first Hall effect sensor for producing a first pulse width modulated signal, and a second pulse width modulator operably coupled to the second Hall effect sensor for producing a second width modulated signal.
 14. The machine of claim 13, wherein the expected values include duty cycles of the first pulse width modulated signal and the second pulse width modulated signal.
 15. The machine of claim 14, wherein each expected value includes a range of expected values.
 16. The machine of claim 14, wherein the electronic controller is further configured to determine a forward position of the movable component if the expected ratio of the duty cycle of the first pulse width modulated signal to the duty cycle of the second pulse width modulated signal is about four to one.
 17. The machine of claim 16, wherein the electronic controller is further configured to determine a reverse position of the movable component if the expected ratio of the duty cycle of the first pulse width modulated signal to the duty cycle of the second pulse width modulated signal is about one to four.
 18. The machine of claim 17, wherein the electronic controller is further configured to determine a neutral position of the movable component if the expected ratio of the duty cycle of the first pulse width modulated signal to the duty cycle of the second pulse width modulated signal is about one to one.
 19. The machine of claim 18, further including a storage device for storing the duty cycles of the first and second pulse width modulated signals corresponding to the determined position.
 20. A computer usable medium having computer readable program code thereon for causing an actuator of a machine to actuate, comprising: computer readable program code for receiving a first signal from a first Hall effect sensor and a second signal from a second Hall effect sensor; computer readable program code for determining the position of the movable component based on the first signal and the second signal if the first and second signals represent expected values; and computer readable code for determining the position of the movable component based on the one of the first and second signals representing an expected value if the other of the first and second signals represents an unexpected value. 